Therefore, you know that an object has been declared finalizable and possibly, but not necessarily, collected, when the get method of the WeakReference or SoftReference class returns null.
这样,您就可以知道当WeakReference或softreference类的get方法返回null时,就有一个对象被声明为finalizable,而且可能(不过不一定)被收集。
In some cases, there may be no item class on an item, so null can be returned.
在某些情况下,条目中没有条目类,所以可以返回null。
The default item class on a RepoItem is null, so the item class on all Folder objects in the example connector will also be null.
RepoItem 上的默认条目类是 null,所以示例连接器中所有 Folder 对象上的条目类也是 null。
应用推荐